package com.love.marriage.userPartnerPreferences.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.love.marriage.userPartnerPreferences.entity.UserPartnerPreferences;
import com.love.marriage.userPartnerPreferences.vo.UserPartnerPreferencesVo;
import com.love.marriage.userPartnerPreferences.vo.UserPartnerVo;

import java.util.List;

/**
 * 用户择偶要求表 服务类
 * author: mybatisPlus
 * createDate: 2024-10-29 22:13:42
 * description: 我是由代码生成器生成
 * version: 1.0.0
 */
public interface UserPartnerPreferencesService extends IService<UserPartnerPreferences> {

    Page<UserPartnerPreferencesVo> getPage(Long pageNum, Long pageSize, UserPartnerPreferencesVo userPartnerPreferencesVo);

    UserPartnerPreferencesVo queryUserPartnerPreferences(Long id);

    UserPartnerPreferencesVo queryUserPartnerPreferencesByUserId(Long userId);

    UserPartnerPreferencesVo addUserPartnerPreferences(UserPartnerPreferencesVo userPartnerPreferencesVo);

    UserPartnerPreferencesVo updateUserPartnerPreferences(UserPartnerPreferencesVo userPartnerPreferencesVo);

    Boolean deleteUserPartnerPreferences(String ids);

    List<UserPartnerVo> queryReferenceList(Long userId);

    List<UserPartnerVo> queryReferenceList(Long userId, Integer minScore);
}
